{% extends "/home/sumit/kgp-initial/basicapp/basic/blog/templates/base.html" %}

{% block body_class %}blog{% endblock %}

{% block categorylist %}
   {% if category_list %}
      	   <div class="topside">Categories</div>	
	   <ul class="link_list">
  		    {% for title in category_list  %}
	    			<li><a href="/blog/categories/{{ title }}">{{ title }}</a></li>
		    {% endfor %}
   	   </ul>
  {% endif %}
{% endblock %}

{% block monthlist %}
    {% if category_list %}
   	<div class="topside">Archive</div>
        <ul class="link_list">
		    {% for month,year in months %}
	    		<li><a href="/blog/{{year}}/{{month}}"> {{month}} {{year}}</a></li>
		    {% endfor %}		    
        </ul>
    {% endif %}
{% endblock %}


